//
//  ViewController.m
//  13-AutoLayout强化
//
//  Created by Snow on 16/8/1.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "ViewController.h"
#define kReuse @"reuse"
@interface ViewController ()<UITableViewDelegate, UITableViewDataSource>


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
//    [self.tableViewOfCustom registerClass:[UITableViewCell class] forCellReuseIdentifier:kReuse];
    
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 10;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kReuse];
    return cell;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
